<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/vue.js"></script>
</head>
<body>
<div  id="root">
    <h2>{{name}}</h2>
</div>
<!--
    1.加工data，
-->
<script type="text/javascript">

    Vue.config.productionTip = false
    const  vm = new Vue({
        el:'#root',
        data:{
            name:'yjm'
        },
    })
</script>
</body>
</html>